|
poziția meniului |
---|
Draft → Move |
Ateliere |
Draft, Arch |
scurtătură |
M V |
Prezentat în versiune |
0.7 |
A se vedea, de asemenea, |
Draft SubelementHighlight |
Instrumentul Mutare deplasează sau copiază obiectele selectate dintr-un punct în altul pe work plane. Dacă nu este selectat niciun obiect, veți fi invitat să selectați unul.
The command can be used on 2D objects created with the Draft Workbench or Sketcher Workbench, but also on many 3D objects such as those created with the Part Workbench, PartDesign Workbench or BIM Workbench.
Moving an object from one point to another
See also: Draft Snap and Draft Constrain.
The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts (for version 1.0).
See also: Preferences Editor and Draft Preferences.
Instrumentul de mutare poate fi folosit în macros și din consola python utilizând următoarea funcție:
moved_list = move(objectslist, vector, copy=False)
Exempluː
import FreeCAD as App
import Draft
doc = App.newDocument()
polygon1 = Draft.make_polygon(5, radius=1000)
polygon2 = Draft.make_polygon(3, radius=500)
polygon3 = Draft.make_polygon(6, radius=220)
Draft.move(polygon1, App.Vector(500, 500, 0))
Draft.move(polygon1, App.Vector(500, 500, 0))
Draft.move(polygon2, App.Vector(1000, -1000, 0))
Draft.move(polygon3, App.Vector(-500, -500, 0))
list1 = [polygon1, polygon2, polygon3]
vector = App.Vector(-2000, -2000, 0)
list2 = Draft.move(list1, vector, copy=True)
list3 = Draft.move(list1, -2*vector, copy=True)
doc.recompute()